package com.vote.model;

import org.apache.commons.collections.MultiMap;

public class OptionSelectedForm {
    private int questionnaireId;
    /**
     * MultiMap 为问题与所选项的对应关系，为一对多关系。
     * key为问题的id，value为选项的id
     * 每个选中的选项添加为：map.put(问题id， 选项id)
     * 
     */
    private MultiMap selectedMap;
    
    public int getQuestionnaireId() {
        return questionnaireId;
    }
    
    public void setQuestionnaireId(int questionnaireId) {
        this.questionnaireId = questionnaireId;
    }
    
    public MultiMap getSelectedMap() {
        return selectedMap;
    }
    
    public void setSelectedMap(MultiMap selectedMap) {
        this.selectedMap = selectedMap;
    }
}
